﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="WorkFlow_WFDesigner_ConditionEdit" Codebehind="ConditionEdit.aspx.cs" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>编辑条件变量</title>
     <base target="_self" />
       <meta http-equiv="Pragma" content="no-cache" />
       <meta http-equiv="Cache-Control" content="no-cache"/>
       <meta http-equiv="Expires" content="0"/> 
         <link href="../Styles/control.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="js/TransData/Condition.js"></script>
    <script language="javascript" type="text/javascript" src="../cal/calendar.js"></script>
</head>
<body>
    <form id="form1" runat="server">
   <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0"  class="t1">
          <thead>
          <th>
              连接条件-变量信息维护</th>
          </thead>
         
        <table align="center"  width="100%"  border="0" cellpadding="3" cellspacing="0" class="tEdit">

	<tr>		
		<td class="title1">
            组号:</td>
		<td style="width:180px">
            <asp:TextBox ID="txtRelationSerial" runat="server" CssClass="input2" onkeypress="mSetIntegerText();"></asp:TextBox></td>
		<td class="title1">
            变量名称:</td>
		<td >
            <asp:DropDownList ID="ddlVarID" runat="server" AutoPostBack="True" CssClass="input2" OnSelectedIndexChanged="ddlVarID_SelectedIndexChanged">
            </asp:DropDownList></td>
	</tr>
	<tr>		
		<td class="title1">
            运算符:</td>
		<td>
            <asp:DropDownList ID="ddlOperator" runat="server" CssClass="input2">
            </asp:DropDownList></td>		
            <td class="title1">
            变量值:</td>
		<td >
            <asp:TextBox ID="txtVarValue" runat="server" CssClass="input2"></asp:TextBox>
            <asp:DropDownList ID="ddlVarValue" runat="server" CssClass="input2">
            </asp:DropDownList>
            <asp:TextBox ID="calVarValue" runat="server"  CssClass="input2" onfocus="setday(this)"></asp:TextBox>
            <asp:TextBox ID="txtNumVarValue" runat="server"  CssClass="input2" onkeypress="return event.keyCode>=48&&event.keyCode<=57||event.keyCode==46" onpaste="return !clipboardData.getData('text').match(/\D/)" ondragenter="return false"></asp:TextBox></td>
	</tr>
	<tr>				
		<td  class="title1">
            关系:</td>
		<td colspan="3" >
            <asp:DropDownList ID="ddlRelation" runat="server" CssClass="input2">
            </asp:DropDownList></td>
	</tr>
	
</table> 

<table width="100%"  border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td> <div align="center">
    <asp:Button ID="btnOK" runat="server" Text="确定" OnClick="btnOK_Click" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" />
            
    <input type="submit" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" name="btnCancel" onclick="window.close();"    value="取 消" />
   </div></td>
  </tr>
</table>

    </form>
    <script language="javascript" type="text/javascript">
    function  mSetIntegerText()   
    {     
          var code = event.keyCode;   
          if(47<code && code<58) {
              event.returnValue= true; 
          }  
          else{   
              event.returnValue= false;  
          }   
    }
    </script>
</body>
</html>